div.row
  div.col-md-6.col-md-offset-3
    = form_for(@obj) do |f|
      = f.label :name
      = f.text_field :name
      = f.label :email
      = f.email_field :email
      = f.label :password
      = f.password_field :password
      = f.label :password_confirmation, "Confirmation"
      = f.password_field :password_confirmation
      = f.submit @obj.new_record? ? "Create my account" : 'Save changes', class: "btn btn-primary"